package com.tencent.sr.iris.activity.service.config;

import com.google.common.collect.Maps;
import com.tencent.sr.tech.dynamic.config.spring.annotation.DynamicConfigObject;
import java.util.Map;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * 任务id和任务处理器的映射
 */
@Data
@Component
@DynamicConfigObject(key = "taskExecutorConfig")
public class TaskAndActExecutorConfig {

    /**
     * 任务id对应任务taskExecutor
     */
    public Map<String, String> taskExecutorMap = Maps.newHashMap();
    /**
     * 活动id对应任务activityExecutor
     */
    public Map<String, String> activityExecutorMap = Maps.newHashMap();

}
